import request from '@/utils/request'
import { menuResponse, getMenuParams } from './types'
enum Api {
  GETMENU_URL = 'getMenu/list',
}

/**
 * @description: user login api
 */
export const getMenu = (data: getMenuParams) =>
  request.post<any, menuResponse>(Api.GETMENU_URL, data)
